def print_line():
    print("*" * 50)


def print_line_char(char):
    print(char * 50)


print_line_char("-")


def print_char_time(char, time):
    """
    打印多行分割线
    :param char:
    :param time:
    """
    print(char * time)


print_char_time("%", 58)


# 打印五行分割线
def print_lines():
    """

    """
    row = 0
    while row < 5:
        print_char_time("=", 50)
        row += 1


print_lines()


def print_lines_time(char, time, row):
    """
    打印多行分割线
    :param char: char类型参数
    :param time: 次数
    :param row: 行数
    :return:
    """
    i = 0
    while i < row:
        print_char_time(char, time)
        i += 1


print_lines_time("&", 50, 6)
